package com.vacation.vacationdemo.service.impl;

import com.vacation.vacationdemo.entity.VacationType;
import com.vacation.vacationdemo.mapper.VacationTypeMapper;
import com.vacation.vacationdemo.service.VacationTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 杨光
 * @date 2022年03月10日 10:09
 */
@Service
public class VacationTypeServiceImpl implements VacationTypeService {

    @Autowired
    private VacationTypeMapper vacationTypeMapper;

    @Override
    public List<VacationType> selectVacationType() {
        return vacationTypeMapper.selectVacationType();
    }
}
